<?php
/**
 * com_easiv3
 * 
 * @author Lukas Gruber
 * @copyright 2012, Lukas Gruber
 * @license GNU/GPLv3 - http://www.gnu.org/licenses/gpl-3.0.html
 * @contact lukasgruber@gmx.net
 * @website http://www.lukasg255.bplaced.net
 */

defined('_JEXEC') or die();

JHTML::_('behavior.tooltip');

jimport('joomla.application.component.view');

class Easiv3ViewAddExistingInstance extends JView {
	
	function display($tpl = null) {
		
		$this->addToolbar();
		
		$document = JFactory::getDocument();
		$document->addStyleSheet(JURI::base().'/components/com_easiv3/css/Easiv3.css');
		
		parent::display($tpl);
	}
	
function addToolbar() {
		JToolbarHelper::title(JText::_('com_EASIV3_ADDEXISTINGINSTANCES_VIEW_TITLE'), 'checkin.png');
		JToolbarHelper::save('manageInstances.saveInstance', JText::_('com_EASIV3_ADDEXISTINGINSTANCES_VIEW_BUTTON_SAVE'));
		JToolbarHelper::cancel('manageInstances.cancel', JText::_('com_EASIV3_ADDEXISTINGINSTANCES_VIEW_BUTTON_CANCEL'));
	}
}